package com.wuye.charge.service;

import java.util.List;
import com.wuye.charge.domain.WyCostAllocation;

/**
 * 费用分配Service接口
 * 
 * @author lishuo
 * @date 2024-11-22
 */
public interface IWyCostAllocationService 
{
    /**
     * 查询费用分配
     * 
     * @param allocationId 费用分配主键
     * @return 费用分配
     */
    public WyCostAllocation selectWyCostAllocationByAllocationId(Long allocationId);

    /**
     * 查询费用分配列表
     * 
     * @param wyCostAllocation 费用分配
     * @return 费用分配集合
     */
    public List<WyCostAllocation> selectWyCostAllocationList(WyCostAllocation wyCostAllocation);

    /**
     * 新增费用分配
     * 
     * @param wyCostAllocation 费用分配
     * @return 结果
     */
    public int insertWyCostAllocation(WyCostAllocation wyCostAllocation);

    /**
     * 修改费用分配
     * 
     * @param wyCostAllocation 费用分配
     * @return 结果
     */
    public int updateWyCostAllocation(WyCostAllocation wyCostAllocation);

    /**
     * 批量删除费用分配
     * 
     * @param allocationIds 需要删除的费用分配主键集合
     * @return 结果
     */
    public int deleteWyCostAllocationByAllocationIds(Long[] allocationIds);

    /**
     * 删除费用分配信息
     * 
     * @param allocationId 费用分配主键
     * @return 结果
     */
    public int deleteWyCostAllocationByAllocationId(Long allocationId);
}
